package org.ch00.test05;

/*
 *
 *@author XCH
 *@date 2025 - 03 - 05 - 08:53
 *
 */
public class TieMen extends Door{
    private String name;

    public TieMen(String name) {
        this.name = name;
    }

    public TieMen() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void open()
    {
        System.out.println("铁门打开");
    }

    public void close()
    {
        System.out.println("铁门关闭");
    }
}
